package com.derbysoft.synxisadapter.commons.repository.impl;

import com.derbysoft.synxisadapter.commons.model.TaxPolicy;
import org.apache.commons.lang.StringUtils;

/**
 * User: jason
 * Date: 2013-01-25
 */
public class ChannelCondition {
    private String passport;

    private String name;

    private String code;

    private String id;

    private String inclusiveTaxRate;

    private TaxPolicy taxPolicy;

    private String iataNumber;

    private String userName;

    private String password;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIataNumber() {
        return iataNumber;
    }

    public void setIataNumber(String iataNumber) {
        this.iataNumber = iataNumber;
    }

    public String getInclusiveTaxRate() {
        return inclusiveTaxRate;
    }

    public void setInclusiveTaxRate(String inclusiveTaxRate) {
        this.inclusiveTaxRate = inclusiveTaxRate;
    }

    public TaxPolicy getTaxPolicy() {
        return taxPolicy;
    }

    public void setTaxPolicy(TaxPolicy taxPolicy) {
        this.taxPolicy = taxPolicy;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = StringUtils.trimToNull(passport);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = StringUtils.trimToNull(name);
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = StringUtils.trimToNull(code);
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = StringUtils.trimToNull(id);
    }
}
